package com.rivulet.doj_backend.pojo;

import java.util.Arrays;

/**
 * {一句话形容此class功能}
 *
 * @author xujiac
 * @create 2021/5/3
 * @since 1.0.0
 */

public class JudgeParameter {
    private Integer user_id;
    private String code;
    private String code_type;
    private String []code_parameter;
    private String []code_result;
    private String error;
    private Boolean running_result;
    private Integer []running_time;

    public JudgeParameter(Integer user_id, String code, String code_type, String[] code_parameter) {
        this.user_id = user_id;
        this.code = code;
        this.code_type = code_type;
        this.code_parameter = code_parameter;
    }
    public JudgeParameter(Integer user_id, String code, String code_type) {
        this.user_id = user_id;
        this.code = code;
        this.code_type = code_type;
    }
    public JudgeParameter() {
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode_type() {
        return code_type;
    }

    public void setCode_type(String code_type) {
        this.code_type = code_type;
    }

    public String[] getCode_parameter() {
        return code_parameter;
    }

    public void setCode_parameter(String[] code_parameter) {
        this.code_parameter = code_parameter;
    }

    public String[] getCode_result() {
        return code_result;
    }

    public void setCode_result(String[] code_result) {
        this.code_result = code_result;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public Boolean getRunning_result() {
        return running_result;
    }

    public void setRunning_result(Boolean running_result) {
        this.running_result = running_result;
    }

    public Integer[] getRunning_time() {
        return running_time;
    }

    public void setRunning_time(Integer[] running_time) {
        this.running_time = running_time;
    }

    @Override
    public String toString() {
        return "JudgeParameter{" +
                "user_id=" + user_id +
                ", code_parameter=" + Arrays.toString(code_parameter) +
                ", code_result=" + Arrays.toString(code_result) +
                ", error='" + error + '\'' +
                ", running_result=" + running_result +
                '}';
    }
}
